package com.gzz.orchid.common.core.model;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;

/**
 * 处理数据包
 */
@Data
public class ActionCmd {
    @NotNull(message = "{required.parameter}")
    @Size(min = 1, message = "{required.least.one.item}")
    private Serializable[] ids;
    //  当前用户
    private Long userId;
    //  当前用户名
    private String userName;
}
